package com.xxzuibang.day14.异常;

public class Exception01 {
//演示数学运算异常
    public static void main(String[] args) {
        int num1=10;
        int num2=0;
        int res=0;
        try {
            res=num1/num2;
        } catch (Exception e) {
            e.printStackTrace();
            return;
        }finally {
            System.out.println("我是finally");
        }
        System.out.println("你好");
    }
}
